export function getToken () {
  return localStorage.getItem('token')
}

export function getAuthorization () {
  const map = new Map()
  map.set('Authorization', getToken())
  return Object.fromEntries(map)
  // return JSON.parse(JSON.stringify({ Authorization: getToken() }))
}

export function removeToken () {
  localStorage.removeItem('token')
}
